package com.lzy.cloud.base.remote;

import com.lzy.cloud.base.remote.dtos.AccountWalletDto;
import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Description: 账户信息接口
 * @Author:   gyl
 * @Date:     2018/7/9 17:25
 */
@FeignClient(name = "lzy-cloud-account")
public interface AccountWalletApi {

    /**
     * 方法说明：根据条件查询钱包信息
     * @param accountWalletDto
     * @return      
     * @date        2018/7/9 17:31
     */
    @RequestMapping(value = "/account/find",method = RequestMethod.POST)
    Result findById(@RequestBody AccountWalletDto accountWalletDto);
}
